﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Script.Serialization;
using Easy.Operation;

namespace Easy.Web.Service.Entity
{
    /// <summary>
    /// DeleteRelation 的摘要说明
    /// </summary>
    public class DeleteRelation : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            string RelationName = context.Request["relationname"];
            bool isDeleteRelation = EntitySetting_Function.isDeleteRelation(RelationName);
            context.Response.Write(isDeleteRelation);
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}